package cn.richard.demo.drools.entity;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class DroolsRule implements Serializable{
	private static final long serialVersionUID = 1L;
	
	private Integer id;
	/**
	 * 业务场景
	 */
	private String ruleFor;
	/**
	 * drl 内容
	 */
	private String drlContent;

	public DroolsRule(Integer id, String drlContent) {
		super();
		this.id = id;
		this.drlContent = drlContent;
	}
}
